package com.gdupt.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gdupt.entity.CustomerContact;
import com.gdupt.mapper.CustomerContactMapper;
import com.gdupt.service.ICustomerContactService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 客户联系人 客户联系人 服务实现类
 * </p>
 *
 * @author gdupt
 * @since 2018-11-21
 */
@Service
public class CustomerContactServiceImpl extends ServiceImpl<CustomerContactMapper, CustomerContact> implements ICustomerContactService {

    @Autowired
    private CustomerContactMapper customerContactMapper;

    @Override
    public List<CustomerContact> search(IPage page, Long customerId) {
        return customerContactMapper.search(page,customerId);
    }


}
